package com.lh.java.junit;

import junit.framework.JUnit4TestAdapter;
import junit.framework.Test;
import junit.framework.TestSuite;

/**
 ************************************************
 ** Module : 不使用标注,通过手工创建TestSuite
 ** Date: 2012-2-15  Time: 下午03:22:18 
 ** Author lh 
 ************************************************ 
 */
public class AllTestsNoAnnotation {

	public static Test suite() {
		TestSuite suite = new TestSuite(AllTestsNoAnnotation.class.getName());
		// $JUnit-BEGIN$
		suite.addTest(new JUnit4TestAdapter(TestCalulatorAdvanced.class));
		suite.addTest(new JUnit4TestAdapter(TestSquareRoot.class));
		// $JUnit-END$
		return suite;
	}

}
